package com.yidu.hbatsams.service.TrainingPlan.zxr;/**
 * @类的描述——
 * @author 朱星润
 * @versing 1.0 2019/10/30
 */


import com.yidu.hbatsams.domain.AtsPlanCurriculum;

import javax.servlet.http.HttpServletRequest;
import java.util.List;
import java.util.Map;

/**
 * @author 朱星润
 * @类的描述——课计划
 * @date 2019/10/30下午 02:19
 */
public interface AtsCurriculumService {
    /**
     * 分页查询所有
     *
     * @return
     */
    List<AtsPlanCurriculum> findAll(HttpServletRequest request, AtsPlanCurriculum atsPlanCurriculum, Integer pageNum, Integer pageSize);
    /**
     * 分页
     *
     * @return
     */
    int count(HttpServletRequest request, AtsPlanCurriculum atsCurriculum);


    /**
     * 周多折线统计图
     * @param request
     * @param map
     * @return
     */
    List<AtsPlanCurriculum> weekEchar(HttpServletRequest request, Map<String, Object> map);

    /**
     * 课多折线统计图
     *
     * @param request
     * @param map
     * @return
     */
    List<AtsPlanCurriculum> curEchar(HttpServletRequest request, Map<String, Object> map);

    /**
     * 课多折线统计图
     *
     * @param request
     * @param map
     * @return
     */
    List<AtsPlanCurriculum> curPie(HttpServletRequest request, Map<String, Object> map);
    List<AtsPlanCurriculum> curAll(HttpServletRequest request, Map<String, Object> map);


    /**
     * 统计图多选框
     * @param request
     * @param atsPlanCurriculum
     * @return
     */
    List<AtsPlanCurriculum> comboBox(HttpServletRequest request, AtsPlanCurriculum atsPlanCurriculum);



    //外键查询
    List<AtsPlanCurriculum> findByWeekId(Integer weekId);

    //主键查询
    AtsPlanCurriculum findById(Integer curriculumId);
}
